package cn.hd01.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.hd01.repository.entity.Servant;

public interface ServantService extends BaseService<Servant, Integer> {
	Page<Servant> findAll(Servant servant, Pageable pageable);
	
	List<Servant> getServant(String type);
	
	int updateServant(Servant servant);
}
